package com.example.broadcastreceiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.widget.Toast;

public class StaticReceiver extends BroadcastReceiver{

	@Override
	public void onReceive(Context context, Intent intent) {
	       String msg = intent.getStringExtra("msg");  
	        Toast.makeText(context, msg, Toast.LENGTH_SHORT).show();  
		
	}

}
